body,figure,figcaption,h2,p,img{
    margin: 0;
    padding: 0;
}
figure{
    position: relative;
    width: 33.33%;
    float: left;
    height: 350px;
    overflow: hidden;
}
figure img{
    opacity: .8;
    transition: all .35s;
}
figure figcaption p,h2,span,div{
    transition: all .35s;
}
figcaption{
    position: absolute;
    top:0;
    left: 0;
    color: #fff;
    font-family: "微软雅黑";
}
@media screen and (max-width: 600px){
    figure{
        width: 100%;
    }
}
@media screen and (min-width: 601px) and (max-width: 1000px){
    figure{
        width: 50%;
    }
}
@media screen and (min-width: 1001px){
    figure{
        width: 33.33%;
    }
}
.test1{
    background: #2F0000;
}
.test1 figcaption p{
    margin: 5px;
    background: #FFF;
    color: #333;
    text-align: center;
    transform: translate(-120px,0);
}
/*.test1 figcaption p:nth-child(1){
    transition-delay: .05s;
}
.test1 figcaption p:nth-child(2){
    transition-delay: .1s;
}
.test1 figcaption p:nth-child(3){
    transition-delay: .15s;
}*/
.test1 figcaption p:nth-of-type(1){
    transition-delay: .05s;
}
.test1 figcaption p:nth-of-type(2){
    transition-delay: .1s;
}
.test1 figcaption p:nth-of-type(3){
    transition-delay: .15s;
}
.test1 figcaption{
    padding: 20px;
}
.test1:hover figcaption p{
    transform: translate(0,0);
}
.test1:hover img{
    transform: translate(-50px,0);
    opacity: .5;
}
.test2{
    background: #030;
}
.test2 figcaption{

    width: 100%;
    height: 100%;
    padding: 30px;
}
.test2 figcaption div{
    position: absolute;
    top: 20%;
    left: 10%;
    width: 70%;
    height: 60%;
    border: 2px solid #fff;
    transform: translate(0,-350px) rotate(0);
}
.test2:hover figcaption div{
    transform: translate(0,0) rotate(180deg);
}
.test2:hover img{
    opacity: .5;
    transform: translate(-50px,0);
}
.test2 figcaption h2{
    margin: 20% 0 0 20%;
}
.test2 figcaption p{
    margin: 4% 0 0 20%;
    opacity: 0;
    transform: translate(0,40px);
}
.test2:hover figcaption p{
    opacity: 1;
    transform: translate(0,0);
}
.test3{
    background: #000;
}
.test3 figcaption{
    top: 30%;
    left: 15%;
}
.test3 figcaption h2{
    transform: skew(90deg);
}
.test3 figcaption p{
    transform: skew(90deg);
}
.test3:hover figcaption h2{
    transform: skew(0);
}
.test3:hover figcaption p{
    transform: skew(0);
    transition-delay: .15s;
}
.test3:hover img{
    opacity: .5;
    transform: translate(-50px,0);
}
.test1 img,.test2 img,.test3 img,.test4 img{
    width: 110%;
}

.test4{
    background: #030;
}
.test4 figcaption{

    width: 100%;
    height: 100%;
    padding: 30px;
}
.test4 figcaption div{
    position: absolute;
    top: 20%;
    left: 10%;
    width: 70%;
    height: 60%;
    border: 2px solid #fff;
    opacity: 0;
}
.test4:hover figcaption div{
    opacity: 1;
    transform: scale(.8);
}
.test4:hover img{
    opacity: .5;
    transform: scale(1.2);
}
.test4 figcaption h2{
    margin: 20% 0 0 20%;
}
.test4 figcaption p{
    margin: 4% 0 0 20%;
    opacity: 0;
}
.test4:hover figcaption p{
    opacity: 1;
    transform: translate(0,0);
}